
import java.util.Date;

import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

<#if lombokEnable >
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.ToString;
</#if>

/**
* @author :${author}
* @description: ${desc}
* @create date: ${createDate}
*/

<#if lombokEnable >
@Data
</#if>
public class ${entityName}PageDTO extends PageDTO {

<#list columnEntityList as filed>
    /** ${filed.sqlFieldComment}  */
    @Schema(description="${filed.sqlFieldComment}")
<#if primaryKey!='noPrimaryKey' && filed.sqlField=primaryKey>
    ${filed.fieldQualifier} ${filed.javaFieldType} ${filed.fieldNameLow};
<#else>
    ${filed.fieldQualifier} ${filed.javaFieldType} ${filed.fieldNameLow};
</#if>

</#list>
<#if !lombokEnable >
    <#list columnEntityList as filed>

    public ${filed.javaFieldType} get${filed.fieldName}() {
        return ${filed.fieldNameLow};
    }

    public void set${filed.fieldName}(${filed.javaFieldType} ${filed.fieldNameLow}) {
        this.${filed.fieldNameLow} = ${filed.fieldNameLow};
    }
    </#list>
</#if>
}
